home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat2 / psetpgrp.nr < prev    next >
Encoding:
Text File  |  1993-03-03  |  1.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. Psetpgrp(2)                Oct. 1, 1991               Psetpgrp(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Psetpgrp - set the process group number for a process
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        LONG Pgetpgrp(WORD pid, WORD neewgrp);
  12.  
  13. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  14.        _✓P_✓s_✓e_✓t_✓p_✓g_✓r_✓p  sets  the process group of the process with pro-
  15.        cess id _✓p_✓i_✓d to the number _✓n_✓e_✓w_✓g_✓r_✓p.  The process  must  have
  16.        the  same  user  id  as  the current process, or must be a
  17.        child of that process. If _✓p_✓i_✓d is 0, the process  group  of
  18.        the  current process is set. If _✓n_✓e_✓w_✓g_✓r_✓p is 0, then the pro-
  19.        cess group is set equal to the process id of the  process.
  20.  
  21. R✓RE✓ET✓TU✓UR✓RN✓NS✓S
  22.        The new process group number, if successful.
  23.  
  24.        EFILNF if process _✓p_✓i_✓d does not exist.
  25.  
  26.        EACCDN  if the process with id _✓p_✓i_✓d has a different user id
  27.        and is not a child of the calling process.
  28.  
  29. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  30.        _✓P_✓k_✓i_✓l_✓l(2), _✓P_✓g_✓e_✓t_✓p_✓g_✓r_✓p(2), _✓P_✓g_✓e_✓t_✓p_✓i_✓d(2)
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Version 0.9          MiNT Programmer's Manual                   1
  65.  
  66.  
  67.